﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.Lib.Family
{
    sealed class Children:Parent
    {
        public Children()
        {
            this.Age = 25;
            this.Name = "Scm";
        }

        private new int Money = 1000;
        public override int GetOwnMoney()
        {
            return base.Money + Money;
        }
        new public string GetInfo()
        {
            return "(" + Name + "：" + Age + ")";
        }
    }
}
